import request from '@/utils/request'

export function sendEmail(email, msg_type) {
  return request({
    url: '/service/email/sendEmail',
    method: 'post',
    data: {
      email,
      msg_type
    }
  })
}
export function sendSms(mobile, msg_type) {
  return request({
    url: '/service/sms/sendSms',
    method: 'post',
    data: {
      mobile,
      msg_type
    }
  })
}

